package com.atguigu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.pojo.School;
import com.atguigu.service.SchoolService;
import com.atguigu.mapper.SchoolMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DELL
* @description 针对表【tb_school】的数据库操作Service实现
* @createDate 2024-10-14 00:01:14
*/
@Service
public class SchoolServiceImpl extends ServiceImpl<SchoolMapper, School>
    implements SchoolService{
    @Autowired
private SchoolMapper schoolMapper;
    @Override
    public List<School> selectAllService() {
        List<School> schools = schoolMapper.selectAllSchool();
        return schools;
    }
}




